﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AcadRibbon.Ribbons.Json.Model;
/// <summary>
/// 按钮
/// </summary>
public class RibbonButton : RibbonCommandItem
{
    public System.Windows.Controls.Orientation Orientation { get; set; }
}
/// <summary>
/// 切换按钮
/// </summary>
public class RibbonToggleButton : RibbonButton
{
    public bool IsChecked { get; set; } = true;
}
/// <summary>
/// 命令按钮（与RibbonButton相同）
/// </summary>
public class RibbonCommandButton : RibbonToggleButton
{

}
/// <summary>
/// 换行标记，RibbonRowPanel中换行
/// </summary>
public class RibbonRowBreak : RibbonItem
{

}
/// <summary>
/// 分隔符用于按钮对齐
/// </summary>
public class RibbonSeparator : RibbonItem
{

}
/// <summary>
/// 行容器，可以多行排列按钮
/// </summary>
public class RibbonRowPanel : RibbonItem
{
    public List<RibbonItem> Items { get; set; } = new();
}